<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<link rel="stylesheet" type="text/css" href="../lib/layui/css/layui.css" />
		<link rel="stylesheet" type="text/css" href="../css/article-category.css"/>
		<script src="../js/ajax.js" type="text/javascript" charset="utf-8"></script>
		<script src="../lib/template-web.js" type="text/javascript" charset="utf-8"></script>
		<title></title>
	</head>
	<body>
		<div class="layui-card-header">
		文章列表管理 
		<button type="button" id="add" class="layui-btn  layui-btn-xs  layui-btn-normal" >添加类别</button>
		</div>
		<div class="layui-form">
		  <table class="layui-table">
		    <colgroup>
		      <col width="150">
		      <col width="150">
		      <col width="200">
		      <col>
		    </colgroup>
		    <thead>
		      <tr>
		        <th>分类类别</th>
		        <th>分类类别</th>
		        <th>操作</th>
		      </tr> 
		    </thead>
		    <tbody>
		    </tbody>
		  </table>
		</div>
		<script type="text/html" id="tpl">
			{{each info}}
			<tr>
			  <td>{{$value.name}}</td>
			  <td>{{$value.alias}}</td>
			 <td>
			 	<button type="button" data-method="offset" data-type="auto" class="layui-btn  layui-btn-xs  layui-btn-normal" id="compile" data-id='{{$value.Id}}'>编辑</button>
			 	<button type="button" class="layui-btn layui-btn-danger layui-btn-xs" id="delete" data-id='{{$value.Id}}'>删除</button>
			 </td>
			</tr>
			{{/each}}
		</script>
		<script src="../lib/layui/layui.all.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/article-category.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
